How To Install elpa-golden-ratio on Ubuntu 18.04
Introduction
In this tutorial we learn how to install elpa-golden-ratio
on Ubuntu 18.04.
What is elpa-golden-ratio
elpa-golden-ratio is:
When working with many windows at the same time, each window has a size that is not convenient for editing. This package helps on this issue by resizing automatically the windows you are working on to the size specified in the “Golden Ratio”. The window that has the main focus will have the perfect size for editing, while the ones that are not being actively edited will be re-sized to a smaller size that doesn’t get in the way, but at the same time will be readable enough to know it’s content.
There are three methods to install elpa-golden-ratio
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 elpa-golden-ratio Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install elpa-golden-ratio
using apt-get
by running the following command:
sudo apt-get -y install elpa-golden-ratio
Install elpa-golden-ratio Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-golden-ratio
using apt
by running the following command:
sudo apt -y install elpa-golden-ratio
Install elpa-golden-ratio 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 elpa-golden-ratio
using aptitude
by running the following command:
sudo aptitude -y install elpa-golden-ratio
How To Uninstall elpa-golden-ratio on Ubuntu 18.04
To uninstall only the elpa-golden-ratio
package we can use the following command:
sudo apt-get remove elpa-golden-ratio
Uninstall elpa-golden-ratio And Its Dependencies
To uninstall elpa-golden-ratio
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove elpa-golden-ratio
Remove elpa-golden-ratio Configurations and Data
To remove elpa-golden-ratio
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge elpa-golden-ratio
Remove elpa-golden-ratio configuration, data, and all of its dependencies
We can use the following command to remove elpa-golden-ratio
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-golden-ratio
References
Summary
In this tutorial we learn how to install elpa-golden-ratio
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.