Skip to content
Related Articles

Related Articles

How to Install 9Menu package on Ubuntu?

View Discussion
Improve Article
Save Article
  • Last Updated : 27 Jul, 2022
View Discussion
Improve Article
Save Article

9Menu produces a window that is made up entirely of a menu. The associated command is carried out when a certain item is selected. With the help of this straightforward software, you may make X menus from the shell, each of which will execute a command. Although 9menu is designed to work with 9wm, it may also be used with other window managers. A list of menu items and command pairings may be entered into the simple program 9menu through the command line. 
On Ubuntu 20.04, there are three options for installing 9Menu. Apt-get, apt, and aptitude are all available. Each strategy of 9Menu installation will be described in detail in the following sections. You may select any of them.

  • Using apt-get to install  
  • Using aptitude to install  
  • Using apt to install  

Installation of 9Menu on Ubuntu 

Method 1: Using the apt-get command.

Step 1: Update the apt database with the following command using apt-get.

sudo apt-get update

Updating-apt-database

 

Step 2: After upgrading the apt database, we can use apt-get to install 9Menu by performing the following command:

 sudo apt-get -y install 9menu

Installing-9menu

 

Example of 9Menu

Here we have created the menu with the four options available in it.

9menu -label ‘X progs’ ghostview xdvi9 xeye xneko exit & 

Example-of-9menu

 

Method 2: Using apt

Step 1: Update the apt database with the following command using apt.

sudo apt update

Updating-apt-database

 

Step 2: After upgrading the apt database, we can use apt to install 9Menu by performing the following command:

 sudo apt -y install 9menu

Installing-9menu

 

Example of 9Menu

Now executing the below’s command, we can create menus with 3 options in it.

9menu -label Remotes xterm ‘acme:rsh acme xterm3’ ‘herman:rsh herman 9term’ &

Created-menus-with-3-options0

 

Method 3: Using aptitude

Step 1: Since aptitude is not typically installed by default on Ubuntu, you might need to install it first if you wish to utilize this method. To update the apt database with aptitude, run the following command.

sudo aptitude update

Updating-aptitude

 

Step 2: After upgrading the apt database, we can use aptitude to install 9Menu by performing the following command:

 sudo aptitude -y install 9menu

Installing-9menu

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!