Tparted
Text-based user interface (TUI) frontend for parted: A simple, user-friendly utility for creating, reorganizing, and deleting disk partitions, based on Turbo/Free Vision application framework.
Install / Use
/learn @Kagamma/TpartedREADME
tparted
https://github.com/user-attachments/assets/8bdd2978-5892-4505-8226-1ac3b5465b3c
TUI frontend for parted: A simple, user-friendly utility for creating, moving, resizing, and deleting disk partitions, based on Free Vision application framework.
MBR is partially supported, as long as no extended partition found on the device.
Currently supported filesystems:
| | Create | Move | Shrink | Grow | Label | |-|-|-|-|-|-| | bcachefs | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark:* | | | btrfs | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark:* | :heavy_check_mark:* | :heavy_check_mark: | | ext2 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | ext3 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | ext4 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | exfat | :heavy_check_mark: | :heavy_check_mark: | | | :heavy_check_mark: | | f2fs | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: | | fat16 | :heavy_check_mark: | :heavy_check_mark: | | | :heavy_check_mark: | | fat32 | :heavy_check_mark: | :heavy_check_mark: | | | :heavy_check_mark: | | jfs | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: | | linux-swap | :heavy_check_mark: | :heavy_check_mark: | | | | | luks | :heavy_check_mark: | | | | | | nilfs2 | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | ntfs | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | xfs | :heavy_check_mark: | :heavy_check_mark: | | :heavy_check_mark: | :heavy_check_mark: |
*In case of btrfs and bcachefs, for now the app doesn't deal with multi disk array.
*The app does not support full disk encryption/decryption at the moment.
Install
Pre-built binary
- See
Releasessection.
Archlinux User Repository (AUR)
- Clone either
https://aur.archlinux.org/tparted-bin.gitorhttps://aur.archlinux.org/tparted-git.git - Enter the directory and run
makepkg -si - Note: Since Arch repository only contains fpc version 3.2.2,
tparted-gitwill install the ShortString/non-unicode version, whiletparted-binwill install the unicode version.
Building from source
- For unicode version:
- Requires Free Pascal 3.3.1
- For ShortString version:
- Officially support for Free Pascal 3.2.2 or newer, although older versions should also work.
- By default unicode version will be built automatically if it detects fpc 3.3.1 on the system. Modify
TPARTED_UNICODEflag inconfigs.incif you want to control it. - Run
make buildto build the app. The binary is located in./bindirectory. - Run
make installto install the app to/usr/local/bin
Translation
- The unicode version of the app is capable of loading translation files in
.moformat. Simply translate the defaulten_US.pofile to your language of choice, convert it to the.moformat viamsgfmttool, then place the converted file into the./bin/localedirectory. - The app depends on the
LANGenvironment variable to determine the language. For example, the app will try to loadja_JP.moorja.moifLANG=ja_JP.UTF-8.
Dependencies
partedutil-linuxcryptsetup(optional) for decrypting LUKS partitions.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.nilfs-utils(optional) for nilfs2 operations.btrfs-progs(optional) for btrfs operations.xfsprogs(optional) for xfs operations.jfsutils(optional) for jfs operations.f2fs-tools(optional) for f2fs operations.bcachefs-tools(optional) for bcachefs operations.
