Ubuntu – Installing programs without apt-get

aptemacsPROXY

I would like to install some programs on a computer which uses a proxy
to access to the Internet.
I tried to configure the proxy access but for reason that I do not
understand this does not work.
I can surf the web but not use apt-get.
I get some errors containing 401 unauthorised which I do not
understand bu make me think that the proxy is meant to prevent the
type of connection that apt-get uses.

I mainly want to install emacs. how can this be done simply using a
web browser?

Best Answer

You can always download the .deb packages and install them manually using

dpkg -i package_name.deb

To download the package, go to this web page and select your Ubuntu version.

You will find a web site giving you alternate package versions (emacs23-lucid and emacs23-nox, the latter only to use with a terminal); also, you will find a number of dependencies -- packages that you must install before installing emacs, for example common emacs binaries. dpkg will complain about unsatisfied dependencies.

That said, I would rather search for a solution with your proxy setup, because you will have a recurring problem with updates (including security updates) and installing new software. Ask a new question with details on the error messages and your proxy configuration.