3

My college just blocked Ubuntu repositories. So is there any way to install texlive package from something like zip?

I need to run this command,

sudo apt-get install texlive texlive-pdf texlive-latex-extra texlive-generic-extra texlive-generic-recommended

So can anyone provide an alternate way to do the same.

Braiam
  • 66,947
  • 30
  • 177
  • 264
  • why not use something like a proxy site to bypass your school – zeitue Mar 18 '14 at 05:37
  • @TaylorBioniks they have even blocked proxy sites – sethulekshmi Mar 18 '14 at 05:40
  • 3
    Go find the idiot who blocked it and kick them. Ok, don't really do that. Just go find who is in charge and explain to them why it needs to be unblocked. – psusi Mar 18 '14 at 14:31
  • 3
    @EliahKagan I would have thought so, but the accepted answer here provides a solution that works here, but is not applicable there. – belacqua Mar 29 '14 at 21:08
  • @belacqua he convinced the op to follow the above link. – Avinash Raj Mar 30 '14 at 01:56
  • If you're going to download those packages using other computer with access to internet and Ubuntu repositories, you can use [Cube](http://launchpad.net/camicricube). Just follow [this guide](http://community.linuxmint.com/tutorial/view/1583). – Jake Mar 18 '14 at 11:11
  • [OP still doesn't have a working solution](http://askubuntu.com/questions/435747/updating-packages-when-network-access-to-standard-repositories-is-blocked/441294?noredirect=1#comment579185_441294) – Braiam Apr 03 '14 at 06:57

2 Answers2

4

You need to select different Ubuntu mirror that is not blacklisted in your college.

Change /etc/apt/sources.list like here:

deb http://mirror.fcaglp.unlp.edu.ar/ubuntu/ saucy main restricted universe multiverse
deb http://mirror.fcaglp.unlp.edu.ar/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirror.fcaglp.unlp.edu.ar/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirror.fcaglp.unlp.edu.ar/ubuntu/ saucy-backports main restricted universe multiverse

Here is the list with plenty of Ubuntu mirrors. Choose what is best for you.

Danatela
  • 13,581
  • 11
  • 44
  • 70
0

Apart of changing repositories (really?), you can use https instead. Just change all entries from http to https:

deb https://repository.ubuntu.com saucy main # this is a made up domain

You can also use ftp, or rsync.

Braiam
  • 66,947
  • 30
  • 177
  • 264