How To Install arch-install-scripts on Ubuntu 18.04
Introduction
In this tutorial we learn how to install arch-install-scripts
on Ubuntu 18.04.
What is arch-install-scripts
arch-install-scripts is:
A small suite of scripts aimed at automating some menial tasks when installing Arch Linux.
These scripts can also aid when debootstrapping a Debian based system.
This package contains genfstab
which assists with generating a fstab and
arch-chroot
which assists with setting up bind mounts and disabling services
via policy.d.
There are three methods to install arch-install-scripts
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install arch-install-scripts Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install arch-install-scripts
using apt-get
by running the following command:
sudo apt-get -y install arch-install-scripts
Install arch-install-scripts Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install arch-install-scripts
using apt
by running the following command:
sudo apt -y install arch-install-scripts
Install arch-install-scripts Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install arch-install-scripts
using aptitude
by running the following command:
sudo aptitude -y install arch-install-scripts
How To Uninstall arch-install-scripts on Ubuntu 18.04
To uninstall only the arch-install-scripts
package we can use the following command:
sudo apt-get remove arch-install-scripts
Uninstall arch-install-scripts And Its Dependencies
To uninstall arch-install-scripts
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove arch-install-scripts
Remove arch-install-scripts Configurations and Data
To remove arch-install-scripts
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge arch-install-scripts
Remove arch-install-scripts configuration, data, and all of its dependencies
We can use the following command to remove arch-install-scripts
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge arch-install-scripts
References
Summary
In this tutorial we learn how to install arch-install-scripts
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.