Install aptlinex in Ubuntu
sudo apt-get install aptlinex
This will install all the required packages.
In this example i am trying to install d4x download manager from firefox we have to use the following command
Now you should see similar to the following screen
Confirmation of installing packages click on Yes
Enter your password click ok
Downloading and installing required packages in progress
One more nice feature i have seen is it will ask you with the following screenshot options create desktop icon or Run now
Once i choose to Run now option i am seeing d4x main screen as follows
We have similar tool apturl but with less options.