How can I install apache2 and tomcat7 without using apt-get? The only command I'm allowed to use to download stuff is wget.
I download apache2 from http://packages.ubuntu.com/trusty/apache2. Downloaded apache2-bin as well. However, I can't figure out how to install it. I get .deb packages and since I'm new to Linux, I really don't know how to proceed.
For tomcat7, it's a bit different since I can't find tomcat7 in Ubuntu's package website. So I downloaded it from here: https://tomcat.apache.org/download-70.cgi. But that comes in a tar.gz file.
Any help would be appreciated, thank you!
sudo dpkg -i <package name>– Neil Oct 29 '15 at 21:07apt-get, I get a bunch of "Failed to fetch" messages. Butwgetworks fine. – o.o Oct 29 '15 at 21:13sudo apt-get update. Sometimes older package versions with security flaws don't resolve anymore. This isn't a guaranteed fix for you, but if you can, you should use apt-get (because it does provide updates, whereas installing via .deb won't) – Mr. B Oct 29 '15 at 21:15sudo apt-get updateandsudo apt-get dist-upgrade– Neil Oct 29 '15 at 21:16apt-get updategives me the same messages. – o.o Oct 29 '15 at 21:16wgetworks because it goes through a proxy to download. But here's the output anyways: https://gist.github.com/anonymous/670e5650dd882b7e0fac – o.o Oct 29 '15 at 21:24ping security.ubuntu.com -c 5– Neil Oct 29 '15 at 21:29apt-getto use the proxy. Pinging didn't work before that. Also, thank you for telling me about thedpkgcommand. – o.o Oct 29 '15 at 21:45