/tparted

Text-based user interface (TUI) frontend for parted: A simple, user-friendly utility for creating, reorganizing, and deleting GPT disk partitions, based on Free Vision application framework.

Primary LanguagePascalGNU General Public License v3.0GPL-3.0

tparted

TUI frontend for parted: A simple, user-friendly utility for creating, reorganizing, and deleting GPT disk partitions, based on Free Vision application framework.

Currently supported filesystems:

Create Move Shrink Grow Label
btrfs ✔️ ✔️ ✔️* ✔️* ✔️
ext2 ✔️ ✔️ ✔️ ✔️ ✔️
ext3 ✔️ ✔️ ✔️ ✔️ ✔️
ext4 ✔️ ✔️ ✔️ ✔️ ✔️
exfat ✔️ ✔️ ✔️
f2fs ✔️ ✔️ ✔️ ✔️
fat16 ✔️ ✔️ ✔️
fat32 ✔️ ✔️ ✔️
jfs ✔️ ✔️ ✔️ ✔️
linux-swap ✔️ ✔️
ntfs ✔️ ✔️ ✔️ ✔️ ✔️
xfs ✔️ ✔️ ✔️ ✔️

*In case of btrfs, for now the app doesn't deal with multi disk array.

Install

Pre-built binary

  • See Releases section.

Archlinux User Repository (AUR)

  • Run git clone https://aur.archlinux.org/tparted-bin.git, then enter tparted-bin directory and run makepkg -si
  • Alternatively you can use an AUR helper, like paru -S tparted-bin or yay -S tparted-bin

Building from source

  • Since the app requires Unicode version of Free Vision, you need to have Free Pascal 3.1.1 or later installed on the system.
  • Run make build to build the app. The binary is located in ./bin directory.
  • Run make install to install the app to /usr/bin

Translation

  • The app is capable of loading translation files in .mo format. Simply translate the default en_US.po file to your language of choice, convert it to the .mo format via msgfmt tool, then place the converted file into the ./bin/locale directory.
  • The app depends on the LANG environment variable to determine the language. For example, the app will try to load ja_JP.mo or ja.mo if LANG=ja_JP.UTF-8.

Dependencies

  • parted
  • util-linux
  • sfdisk (optional) for moving partitions.
  • dosfstools (optional) for fat operations.
  • exfatprogs (optional) for exfat operations.
  • e2fsprogs (optional) for ext2/3/4 operations.
  • ntfs-3g (optional) for ntfs operations.
  • btrfs-progs (optional) for btrfs operations.
  • xfsprogs (optional) for xfs operations.
  • jfsutils (optional) for jfs operations.
  • f2fs-tools (optional) for f2fs operations.

image1 image2