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
  • 67,791
  • 32
  • 179
  • 269

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,243
  • 11
  • 45
  • 72
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
  • 67,791
  • 32
  • 179
  • 269