The line in the ~/.bashrc file tells bash that whenever you type dpkg, it will run ~/bin/dpkg (the script), rather than /usr/bin/dpkg. Then add this to the last line in ~/.bashrc PATH="~/bin:$PATH" Just copy and paste this script into ~/bin (create this folder if it doesn't exist): #!/bin/bash I actually have a script that does something similar: Otherwise you can not use this method and need the user to download it and install themselves. So if the software is not in a default enabled repository you should add a 'section=' to it. More info can be found on the apturl wiki page:īundling several packages: a href="apt:package1,package2,package3"Įnabling repositories: apturl apt:freevial?section=universe Otherwise you will have to execute the installation from Nautilus or command line.Ĭomplete text used for this is for Ask Ubuntu only so you need to reformat this into an anchor: () Īnd yes you need Ubuntu Software Center to finish the installation of a.
0 Comments
Leave a Reply. |