DEV Community

Cover image for Install Protonmail Import-Export app on Arch Linux
nabbisen
nabbisen

Posted on

Install Protonmail Import-Export app on Arch Linux

Summary

This post shows how to install/uninstall Protonmail "Import-Export app" on Arch Linux (manually, instead of using AUR packages).
It is also about how to install a package with PKGBUILD file and makepkg script.

Install

First, visit:

https://protonmail.com/import-export

and get the PKGBUILD.

Alt Text

Move the PKGBUILD to the working directory, where .deb and .pkg.tar.zst files will be created. Then, run there:

$ makepkg -sci
Enter fullscreen mode Exit fullscreen mode

The output was (Well, "y" was entered at each confirmation):

==> Making package: protonmail-import-export-app-bin 1.3.3-1 (2021年08月17日 11時53分36秒)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for nabbisen: 
resolving dependencies...
looking for conflicting packages...

Packages (1) qt5-quickcontrols-5.15.2-1

Total Installed Size:  4.76 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                          [##############################] 100%
(1/1) checking package integrity                        [##############################] 100%
(1/1) loading package files                             [##############################] 100%
(1/1) checking for file conflicts                       [##############################] 100%
(1/1) checking available disk space                     [##############################] 100%
:: Processing package changes...
(1/1) installing qt5-quickcontrols                      [##############################] 100%
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading protonmail-import-export-app_1.3.3-1_amd64.deb...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 61.1M  100 61.1M    0     0   282k      0  0:03:41  0:03:41 --:--:--  409k
==> Validating source files with sha256sums...
    protonmail-import-export-app_1.3.3-1_amd64.deb ... Passed
==> Extracting sources...
  -> Extracting protonmail-import-export-app_1.3.3-1_amd64.deb with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "protonmail-import-export-app-bin"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: protonmail-import-export-app-bin 1.3.3-1 (2021年08月17日 11時57分36秒)
==> Installing package protonmail-import-export-app-bin with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) protonmail-import-export-app-bin-1.3.3-1

Total Installed Size:  160.06 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                          [##############################] 100%
(1/1) checking package integrity                        [##############################] 100%
(1/1) loading package files                             [##############################] 100%
(1/1) checking for file conflicts                       [##############################] 100%
(1/1) checking available disk space                     [##############################] 100%
:: Processing package changes...
(1/1) installing protonmail-import-export-app-bin       [##############################] 100%
Optional dependencies for protonmail-import-export-app-bin
    pass: pass support
    gnome-keyring: gnome-keyring support [installed]
:: Running post-transaction hooks...
(1/2) Updating icon theme caches...
(2/2) Updating the desktop file MIME type cache...
==> Cleaning up...
Enter fullscreen mode Exit fullscreen mode

Done. The app will be started with the command (or some desktop menu):

$ protonmail-import-export-app
Enter fullscreen mode Exit fullscreen mode

Uninstall

Just run:

$ sudo pacman -Rs \
    protonmail-import-export-app-bin
Enter fullscreen mode Exit fullscreen mode

Top comments (0)