NALA, the new frontend APT package manager

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
User avatar
Doruletz
Level 4
Level 4
Posts: 329
Joined: Sun Aug 15, 2010 1:00 am
Location: USA

NALA, the new frontend APT package manager

Post by Doruletz »

********************************************************************************
**** Install NALA - Replacement for APT ****
Install NALA, a much better and complete package manager for all Debian based Distros (Debian, Ubuntu, Linux Mint, Pop!_OS, etc)
Pull the GIT from here, and follow Chris Titus instructions to install:
https://gitlab.com/volian/nala
https://christitus.com/stop-using-apt/
YouTube Video by Chris Titus Tech:
https://www.youtube.com/watch?v=oroSkR4Nn_w
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Install NALA - Step by step

Code: Select all

echo "deb http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list; wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg
Install Nala on any Debian Sid or Ubuntu 22+ or Linux Mint 21+ with:

Code: Select all

sudo apt update && sudo apt install nala
Install on Debian Stable or Ubuntu 21 and below, Linux Mint 20+ and bellow:

Code: Select all

sudo apt update && sudo apt install nala-legacy
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
** NALA Tips:
Update Mirrors
This will drastically speed up your downloads

Code: Select all

sudo nala fetch
Select the mirrors you want from the list. Tip: Select at least first three.
1 2 3
View Update History
Nala has a robust history and even an UNDO! These commands are a life saver.
View the history:

Code: Select all

nala history
Undo a history (sudo nala history undo ID). Basically, un-install the last...

Code: Select all

sudo nala history undo 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
**** OPTIONAL ****
Convert APT to Nala
Add the following to your ~/.bashrc AND /root/.bashrc file:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Code: Select all

apt() { 
  command nala "$@"
}
sudo() {
  if [ "$1" = "apt" ]; then
    shift
    command sudo nala "$@"
  else
    command sudo "$@"
  fi
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
From here you can install programs with apt or nala command and it will
always work perfectly!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
********************************************************************************
What do I think about Window$??? Just take a look at my AVATAR...
User avatar
Maxwell-J
Level 4
Level 4
Posts: 388
Joined: Fri Nov 12, 2021 6:10 pm

Re: NALA, the new frontend APT package manager

Post by Maxwell-J »

8)
Post Reply

Return to “Tutorials”