Installing TeXLive from ISO
I have downloaded texlive2017-20170524.iso
from http://muug.ca/mirror/ctan/systems/texlive/Images/.
and tried to mount it with both "Open with archive mounter" (by right-clicking on it) and also "Open with --> Disk image mounter"
They are both successful in mounting.
When I cd
to the mounted location and run ./install-tl
(also tried ./install-tl
), it gives me this error:
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Here are the first 60 lines of install-tl
#!/usr/bin/env perl
# $Id: install-tl 44407 2017-05-18 21:25:39Z karl $
#
# Copyright 2007-2017
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
# Be careful when changing wording: *every* normal informational message
# output here must be recognized by the long grep in tl-update-tlnet.
#
# TODO:
# - with -gui pop up a transient window showing:
# testing for compressed archive packages ...
# testing for uncompressed live system ...
# testing for network access ...
# loading tlpdb, this can take some time ...
# (that, and maybe some others can be done with the waitVariableX
# thingy as described in the Perl/Tk book in the chapter that can be
# found on the net) (Werner 28.10.08)
my $svnrev = '$Revision: 44407 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');
# taken from 00texlive.config: release, $tlpdb->config_release;
our $texlive_release;
BEGIN {
$^W = 1;
my $Master;
my $me = $0;
$me =~ s!\!/!g if $^O =~ /^MSWin/i;
if ($me =~ m!/!) {
($Master = $me) =~ s!(.*)/[^/]*$!$1!;
} else {
$Master = ".";
}
$::installerdir = $Master;
# All platforms: add the installer modules
unshift (@INC, "$::installerdir/tlpkg");
}
use Cwd 'abs_path';
use Getopt::Long qw(:config no_autoabbrev);
use Pod::Usage;
use POSIX ();
use TeXLive::TLUtils qw(platform platform_desc sort_archs
which getenv win32 unix info log debug tlwarn ddebug tldie
member process_logging_options rmtree wsystem
mkdirhier make_var_skeleton make_local_skeleton install_package copy
install_packages dirname setup_programs native_slashify forward_slashify);
use TeXLive::TLPOBJ;
use TeXLive::TLPDB;
use TeXLive::TLConfig;
use TeXLive::TLCrypto;
use TeXLive::TLDownload;
use TeXLive::TLPaper;
I have also tried copying the contents to my hard-drive (so it is no longer in ISO format), as I have had problems before running applications directly from an ISO. It still gives me the above error.
Question: How can I install TeXLive to my system using texlive2017-20170524.iso
?
(I'd much rather use an offline installer rather than sudo apt-get install texlive
)
Here is what I see on the terminal:
Me@Computer:~/Desktop$ cd ~/Desktop
Me@Computer:~/Desktop$ mkdir mountpoint
Me@Computer:~/Desktop$ sudo mount -o loop texlive2017-20170524.iso mountpoint
[sudo] password for Me:
mount: /dev/loop0 is write-protected, mounting read-only
Me@Computer:~/Desktop$ cd mountpoint/
Me@Computer:~/Desktop/mountpoint$ ./install-tl
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Me@Computer:~/Desktop/mountpoint$
software-installation texlive
|
show 7 more comments
I have downloaded texlive2017-20170524.iso
from http://muug.ca/mirror/ctan/systems/texlive/Images/.
and tried to mount it with both "Open with archive mounter" (by right-clicking on it) and also "Open with --> Disk image mounter"
They are both successful in mounting.
When I cd
to the mounted location and run ./install-tl
(also tried ./install-tl
), it gives me this error:
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Here are the first 60 lines of install-tl
#!/usr/bin/env perl
# $Id: install-tl 44407 2017-05-18 21:25:39Z karl $
#
# Copyright 2007-2017
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
# Be careful when changing wording: *every* normal informational message
# output here must be recognized by the long grep in tl-update-tlnet.
#
# TODO:
# - with -gui pop up a transient window showing:
# testing for compressed archive packages ...
# testing for uncompressed live system ...
# testing for network access ...
# loading tlpdb, this can take some time ...
# (that, and maybe some others can be done with the waitVariableX
# thingy as described in the Perl/Tk book in the chapter that can be
# found on the net) (Werner 28.10.08)
my $svnrev = '$Revision: 44407 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');
# taken from 00texlive.config: release, $tlpdb->config_release;
our $texlive_release;
BEGIN {
$^W = 1;
my $Master;
my $me = $0;
$me =~ s!\!/!g if $^O =~ /^MSWin/i;
if ($me =~ m!/!) {
($Master = $me) =~ s!(.*)/[^/]*$!$1!;
} else {
$Master = ".";
}
$::installerdir = $Master;
# All platforms: add the installer modules
unshift (@INC, "$::installerdir/tlpkg");
}
use Cwd 'abs_path';
use Getopt::Long qw(:config no_autoabbrev);
use Pod::Usage;
use POSIX ();
use TeXLive::TLUtils qw(platform platform_desc sort_archs
which getenv win32 unix info log debug tlwarn ddebug tldie
member process_logging_options rmtree wsystem
mkdirhier make_var_skeleton make_local_skeleton install_package copy
install_packages dirname setup_programs native_slashify forward_slashify);
use TeXLive::TLPOBJ;
use TeXLive::TLPDB;
use TeXLive::TLConfig;
use TeXLive::TLCrypto;
use TeXLive::TLDownload;
use TeXLive::TLPaper;
I have also tried copying the contents to my hard-drive (so it is no longer in ISO format), as I have had problems before running applications directly from an ISO. It still gives me the above error.
Question: How can I install TeXLive to my system using texlive2017-20170524.iso
?
(I'd much rather use an offline installer rather than sudo apt-get install texlive
)
Here is what I see on the terminal:
Me@Computer:~/Desktop$ cd ~/Desktop
Me@Computer:~/Desktop$ mkdir mountpoint
Me@Computer:~/Desktop$ sudo mount -o loop texlive2017-20170524.iso mountpoint
[sudo] password for Me:
mount: /dev/loop0 is write-protected, mounting read-only
Me@Computer:~/Desktop$ cd mountpoint/
Me@Computer:~/Desktop/mountpoint$ ./install-tl
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Me@Computer:~/Desktop/mountpoint$
software-installation texlive
1
Why don't you want to usesudo apt-get install texlive
? If you want to install offline, you could useapt download texlive
on another PC (with matching Ubuntu version), copy thedeb
files and install them withdpkg -i
. Would that answer your question?
– janos
Dec 15 '17 at 20:20
@janos it would take too long on my internet to download usingsudo apt-get install texlive
. I have a friend who downloadedtexlive2017-20170524.iso
for me (tex.stackexchange.com/a/370354/150700 contains instructions on how to install, but it does not work for me)
– tfstwbbnb
Dec 16 '17 at 3:48
I do not have this issue on my 17.10 system (with the ISO mounted withsudo mount -o loop image.iso /mountpoint
).
– fkraiem
Dec 16 '17 at 4:13
I'm on 16.04 LTS and also triedsudo mount -o loop texlive2017-20170524.iso /mountpoint
to no avail (same error message). I have also verified the hash of the ISO file is the same as the one provided
– tfstwbbnb
Dec 16 '17 at 4:14
@fkraiem I'm not sure, but would this be more appropriate if this question is migrated to tex.stackexchange.com?
– tfstwbbnb
Dec 16 '17 at 4:16
|
show 7 more comments
I have downloaded texlive2017-20170524.iso
from http://muug.ca/mirror/ctan/systems/texlive/Images/.
and tried to mount it with both "Open with archive mounter" (by right-clicking on it) and also "Open with --> Disk image mounter"
They are both successful in mounting.
When I cd
to the mounted location and run ./install-tl
(also tried ./install-tl
), it gives me this error:
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Here are the first 60 lines of install-tl
#!/usr/bin/env perl
# $Id: install-tl 44407 2017-05-18 21:25:39Z karl $
#
# Copyright 2007-2017
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
# Be careful when changing wording: *every* normal informational message
# output here must be recognized by the long grep in tl-update-tlnet.
#
# TODO:
# - with -gui pop up a transient window showing:
# testing for compressed archive packages ...
# testing for uncompressed live system ...
# testing for network access ...
# loading tlpdb, this can take some time ...
# (that, and maybe some others can be done with the waitVariableX
# thingy as described in the Perl/Tk book in the chapter that can be
# found on the net) (Werner 28.10.08)
my $svnrev = '$Revision: 44407 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');
# taken from 00texlive.config: release, $tlpdb->config_release;
our $texlive_release;
BEGIN {
$^W = 1;
my $Master;
my $me = $0;
$me =~ s!\!/!g if $^O =~ /^MSWin/i;
if ($me =~ m!/!) {
($Master = $me) =~ s!(.*)/[^/]*$!$1!;
} else {
$Master = ".";
}
$::installerdir = $Master;
# All platforms: add the installer modules
unshift (@INC, "$::installerdir/tlpkg");
}
use Cwd 'abs_path';
use Getopt::Long qw(:config no_autoabbrev);
use Pod::Usage;
use POSIX ();
use TeXLive::TLUtils qw(platform platform_desc sort_archs
which getenv win32 unix info log debug tlwarn ddebug tldie
member process_logging_options rmtree wsystem
mkdirhier make_var_skeleton make_local_skeleton install_package copy
install_packages dirname setup_programs native_slashify forward_slashify);
use TeXLive::TLPOBJ;
use TeXLive::TLPDB;
use TeXLive::TLConfig;
use TeXLive::TLCrypto;
use TeXLive::TLDownload;
use TeXLive::TLPaper;
I have also tried copying the contents to my hard-drive (so it is no longer in ISO format), as I have had problems before running applications directly from an ISO. It still gives me the above error.
Question: How can I install TeXLive to my system using texlive2017-20170524.iso
?
(I'd much rather use an offline installer rather than sudo apt-get install texlive
)
Here is what I see on the terminal:
Me@Computer:~/Desktop$ cd ~/Desktop
Me@Computer:~/Desktop$ mkdir mountpoint
Me@Computer:~/Desktop$ sudo mount -o loop texlive2017-20170524.iso mountpoint
[sudo] password for Me:
mount: /dev/loop0 is write-protected, mounting read-only
Me@Computer:~/Desktop$ cd mountpoint/
Me@Computer:~/Desktop/mountpoint$ ./install-tl
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Me@Computer:~/Desktop/mountpoint$
software-installation texlive
I have downloaded texlive2017-20170524.iso
from http://muug.ca/mirror/ctan/systems/texlive/Images/.
and tried to mount it with both "Open with archive mounter" (by right-clicking on it) and also "Open with --> Disk image mounter"
They are both successful in mounting.
When I cd
to the mounted location and run ./install-tl
(also tried ./install-tl
), it gives me this error:
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Here are the first 60 lines of install-tl
#!/usr/bin/env perl
# $Id: install-tl 44407 2017-05-18 21:25:39Z karl $
#
# Copyright 2007-2017
# Reinhard Kotucha, Norbert Preining, Karl Berry, Siep Kroonenberg.
# This file is licensed under the GNU General Public License version 2
# or any later version.
#
# Be careful when changing wording: *every* normal informational message
# output here must be recognized by the long grep in tl-update-tlnet.
#
# TODO:
# - with -gui pop up a transient window showing:
# testing for compressed archive packages ...
# testing for uncompressed live system ...
# testing for network access ...
# loading tlpdb, this can take some time ...
# (that, and maybe some others can be done with the waitVariableX
# thingy as described in the Perl/Tk book in the chapter that can be
# found on the net) (Werner 28.10.08)
my $svnrev = '$Revision: 44407 $';
$svnrev =~ m/: ([0-9]+) /;
$::installerrevision = ($1 ? $1 : 'unknown');
# taken from 00texlive.config: release, $tlpdb->config_release;
our $texlive_release;
BEGIN {
$^W = 1;
my $Master;
my $me = $0;
$me =~ s!\!/!g if $^O =~ /^MSWin/i;
if ($me =~ m!/!) {
($Master = $me) =~ s!(.*)/[^/]*$!$1!;
} else {
$Master = ".";
}
$::installerdir = $Master;
# All platforms: add the installer modules
unshift (@INC, "$::installerdir/tlpkg");
}
use Cwd 'abs_path';
use Getopt::Long qw(:config no_autoabbrev);
use Pod::Usage;
use POSIX ();
use TeXLive::TLUtils qw(platform platform_desc sort_archs
which getenv win32 unix info log debug tlwarn ddebug tldie
member process_logging_options rmtree wsystem
mkdirhier make_var_skeleton make_local_skeleton install_package copy
install_packages dirname setup_programs native_slashify forward_slashify);
use TeXLive::TLPOBJ;
use TeXLive::TLPDB;
use TeXLive::TLConfig;
use TeXLive::TLCrypto;
use TeXLive::TLDownload;
use TeXLive::TLPaper;
I have also tried copying the contents to my hard-drive (so it is no longer in ISO format), as I have had problems before running applications directly from an ISO. It still gives me the above error.
Question: How can I install TeXLive to my system using texlive2017-20170524.iso
?
(I'd much rather use an offline installer rather than sudo apt-get install texlive
)
Here is what I see on the terminal:
Me@Computer:~/Desktop$ cd ~/Desktop
Me@Computer:~/Desktop$ mkdir mountpoint
Me@Computer:~/Desktop$ sudo mount -o loop texlive2017-20170524.iso mountpoint
[sudo] password for Me:
mount: /dev/loop0 is write-protected, mounting read-only
Me@Computer:~/Desktop$ cd mountpoint/
Me@Computer:~/Desktop/mountpoint$ ./install-tl
TeXLive/TLUtils.pm did not return a true value at ./install-tl line 54.
BEGIN failed--compilation aborted at ./install-tl line 54.
Me@Computer:~/Desktop/mountpoint$
software-installation texlive
software-installation texlive
edited Dec 16 '17 at 4:24
asked Dec 15 '17 at 19:57
tfstwbbnb
307
307
1
Why don't you want to usesudo apt-get install texlive
? If you want to install offline, you could useapt download texlive
on another PC (with matching Ubuntu version), copy thedeb
files and install them withdpkg -i
. Would that answer your question?
– janos
Dec 15 '17 at 20:20
@janos it would take too long on my internet to download usingsudo apt-get install texlive
. I have a friend who downloadedtexlive2017-20170524.iso
for me (tex.stackexchange.com/a/370354/150700 contains instructions on how to install, but it does not work for me)
– tfstwbbnb
Dec 16 '17 at 3:48
I do not have this issue on my 17.10 system (with the ISO mounted withsudo mount -o loop image.iso /mountpoint
).
– fkraiem
Dec 16 '17 at 4:13
I'm on 16.04 LTS and also triedsudo mount -o loop texlive2017-20170524.iso /mountpoint
to no avail (same error message). I have also verified the hash of the ISO file is the same as the one provided
– tfstwbbnb
Dec 16 '17 at 4:14
@fkraiem I'm not sure, but would this be more appropriate if this question is migrated to tex.stackexchange.com?
– tfstwbbnb
Dec 16 '17 at 4:16
|
show 7 more comments
1
Why don't you want to usesudo apt-get install texlive
? If you want to install offline, you could useapt download texlive
on another PC (with matching Ubuntu version), copy thedeb
files and install them withdpkg -i
. Would that answer your question?
– janos
Dec 15 '17 at 20:20
@janos it would take too long on my internet to download usingsudo apt-get install texlive
. I have a friend who downloadedtexlive2017-20170524.iso
for me (tex.stackexchange.com/a/370354/150700 contains instructions on how to install, but it does not work for me)
– tfstwbbnb
Dec 16 '17 at 3:48
I do not have this issue on my 17.10 system (with the ISO mounted withsudo mount -o loop image.iso /mountpoint
).
– fkraiem
Dec 16 '17 at 4:13
I'm on 16.04 LTS and also triedsudo mount -o loop texlive2017-20170524.iso /mountpoint
to no avail (same error message). I have also verified the hash of the ISO file is the same as the one provided
– tfstwbbnb
Dec 16 '17 at 4:14
@fkraiem I'm not sure, but would this be more appropriate if this question is migrated to tex.stackexchange.com?
– tfstwbbnb
Dec 16 '17 at 4:16
1
1
Why don't you want to use
sudo apt-get install texlive
? If you want to install offline, you could use apt download texlive
on another PC (with matching Ubuntu version), copy the deb
files and install them with dpkg -i
. Would that answer your question?– janos
Dec 15 '17 at 20:20
Why don't you want to use
sudo apt-get install texlive
? If you want to install offline, you could use apt download texlive
on another PC (with matching Ubuntu version), copy the deb
files and install them with dpkg -i
. Would that answer your question?– janos
Dec 15 '17 at 20:20
@janos it would take too long on my internet to download using
sudo apt-get install texlive
. I have a friend who downloaded texlive2017-20170524.iso
for me (tex.stackexchange.com/a/370354/150700 contains instructions on how to install, but it does not work for me)– tfstwbbnb
Dec 16 '17 at 3:48
@janos it would take too long on my internet to download using
sudo apt-get install texlive
. I have a friend who downloaded texlive2017-20170524.iso
for me (tex.stackexchange.com/a/370354/150700 contains instructions on how to install, but it does not work for me)– tfstwbbnb
Dec 16 '17 at 3:48
I do not have this issue on my 17.10 system (with the ISO mounted with
sudo mount -o loop image.iso /mountpoint
).– fkraiem
Dec 16 '17 at 4:13
I do not have this issue on my 17.10 system (with the ISO mounted with
sudo mount -o loop image.iso /mountpoint
).– fkraiem
Dec 16 '17 at 4:13
I'm on 16.04 LTS and also tried
sudo mount -o loop texlive2017-20170524.iso /mountpoint
to no avail (same error message). I have also verified the hash of the ISO file is the same as the one provided– tfstwbbnb
Dec 16 '17 at 4:14
I'm on 16.04 LTS and also tried
sudo mount -o loop texlive2017-20170524.iso /mountpoint
to no avail (same error message). I have also verified the hash of the ISO file is the same as the one provided– tfstwbbnb
Dec 16 '17 at 4:14
@fkraiem I'm not sure, but would this be more appropriate if this question is migrated to tex.stackexchange.com?
– tfstwbbnb
Dec 16 '17 at 4:16
@fkraiem I'm not sure, but would this be more appropriate if this question is migrated to tex.stackexchange.com?
– tfstwbbnb
Dec 16 '17 at 4:16
|
show 7 more comments
2 Answers
2
active
oldest
votes
I believe the question is an X Y problem:
your ultimate goal is to install texlive
offline,
and doing it from ISO instead of other alternatives is not a requirement.
If that's the case, then you could consider getting the deb
files of texlive
and its dependencies, instead of the ISO.
This should simplify the installation and eliminate your issues in the question.
You can get a list of the URLs and MD5 sums of texlive
and its dependencies by running this command on your system:
apt-get --print-uris --yes install texlive | grep "^'" | sed -e "s/'//g" | awk '{ print $1, $4 }' > packages.info
This will generate a file packages.info
with the URLs to download and their MD5 sums. It's best if your friend also verifies the MD5 sums after downloading.
Once you have the deb
files, you can install them with dpkg -i *.deb
and should be good to go.
That being said, as @fkraiem pointed out in a comment,
using the deb
instead of the ISO has some drawbacks:
In the case of TeXLive, I think using the official installer is always better than using .debs (indeed, it's what I use myself), mostly because it allows finer management of CTAN packages and better community support (if you ask a question, e.g., on Tex.SE, it will be assumed that you used the official installer, so the solution might not work if you used the .debs)
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
".deb
s are better than ISO" is just your opinion.
– fkraiem
Dec 16 '17 at 6:38
Also, as I have said in comments to the question, installingtexlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.
– fkraiem
Dec 16 '17 at 6:45
@fkraiem I don't really think thatdeb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I thinkdeb
is generally better, don't you think?
– janos
Dec 16 '17 at 6:46
|
show 4 more comments
It turns out, the file was not properly transferred.
The hash of the file on my friend's computer (who originally downloaded it) has the correct hash.
However, the hash of the file on the transfer medium (and the file on my computer) have the same incorrect hash.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f986646%2finstalling-texlive-from-iso%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I believe the question is an X Y problem:
your ultimate goal is to install texlive
offline,
and doing it from ISO instead of other alternatives is not a requirement.
If that's the case, then you could consider getting the deb
files of texlive
and its dependencies, instead of the ISO.
This should simplify the installation and eliminate your issues in the question.
You can get a list of the URLs and MD5 sums of texlive
and its dependencies by running this command on your system:
apt-get --print-uris --yes install texlive | grep "^'" | sed -e "s/'//g" | awk '{ print $1, $4 }' > packages.info
This will generate a file packages.info
with the URLs to download and their MD5 sums. It's best if your friend also verifies the MD5 sums after downloading.
Once you have the deb
files, you can install them with dpkg -i *.deb
and should be good to go.
That being said, as @fkraiem pointed out in a comment,
using the deb
instead of the ISO has some drawbacks:
In the case of TeXLive, I think using the official installer is always better than using .debs (indeed, it's what I use myself), mostly because it allows finer management of CTAN packages and better community support (if you ask a question, e.g., on Tex.SE, it will be assumed that you used the official installer, so the solution might not work if you used the .debs)
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
".deb
s are better than ISO" is just your opinion.
– fkraiem
Dec 16 '17 at 6:38
Also, as I have said in comments to the question, installingtexlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.
– fkraiem
Dec 16 '17 at 6:45
@fkraiem I don't really think thatdeb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I thinkdeb
is generally better, don't you think?
– janos
Dec 16 '17 at 6:46
|
show 4 more comments
I believe the question is an X Y problem:
your ultimate goal is to install texlive
offline,
and doing it from ISO instead of other alternatives is not a requirement.
If that's the case, then you could consider getting the deb
files of texlive
and its dependencies, instead of the ISO.
This should simplify the installation and eliminate your issues in the question.
You can get a list of the URLs and MD5 sums of texlive
and its dependencies by running this command on your system:
apt-get --print-uris --yes install texlive | grep "^'" | sed -e "s/'//g" | awk '{ print $1, $4 }' > packages.info
This will generate a file packages.info
with the URLs to download and their MD5 sums. It's best if your friend also verifies the MD5 sums after downloading.
Once you have the deb
files, you can install them with dpkg -i *.deb
and should be good to go.
That being said, as @fkraiem pointed out in a comment,
using the deb
instead of the ISO has some drawbacks:
In the case of TeXLive, I think using the official installer is always better than using .debs (indeed, it's what I use myself), mostly because it allows finer management of CTAN packages and better community support (if you ask a question, e.g., on Tex.SE, it will be assumed that you used the official installer, so the solution might not work if you used the .debs)
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
".deb
s are better than ISO" is just your opinion.
– fkraiem
Dec 16 '17 at 6:38
Also, as I have said in comments to the question, installingtexlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.
– fkraiem
Dec 16 '17 at 6:45
@fkraiem I don't really think thatdeb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I thinkdeb
is generally better, don't you think?
– janos
Dec 16 '17 at 6:46
|
show 4 more comments
I believe the question is an X Y problem:
your ultimate goal is to install texlive
offline,
and doing it from ISO instead of other alternatives is not a requirement.
If that's the case, then you could consider getting the deb
files of texlive
and its dependencies, instead of the ISO.
This should simplify the installation and eliminate your issues in the question.
You can get a list of the URLs and MD5 sums of texlive
and its dependencies by running this command on your system:
apt-get --print-uris --yes install texlive | grep "^'" | sed -e "s/'//g" | awk '{ print $1, $4 }' > packages.info
This will generate a file packages.info
with the URLs to download and their MD5 sums. It's best if your friend also verifies the MD5 sums after downloading.
Once you have the deb
files, you can install them with dpkg -i *.deb
and should be good to go.
That being said, as @fkraiem pointed out in a comment,
using the deb
instead of the ISO has some drawbacks:
In the case of TeXLive, I think using the official installer is always better than using .debs (indeed, it's what I use myself), mostly because it allows finer management of CTAN packages and better community support (if you ask a question, e.g., on Tex.SE, it will be assumed that you used the official installer, so the solution might not work if you used the .debs)
I believe the question is an X Y problem:
your ultimate goal is to install texlive
offline,
and doing it from ISO instead of other alternatives is not a requirement.
If that's the case, then you could consider getting the deb
files of texlive
and its dependencies, instead of the ISO.
This should simplify the installation and eliminate your issues in the question.
You can get a list of the URLs and MD5 sums of texlive
and its dependencies by running this command on your system:
apt-get --print-uris --yes install texlive | grep "^'" | sed -e "s/'//g" | awk '{ print $1, $4 }' > packages.info
This will generate a file packages.info
with the URLs to download and their MD5 sums. It's best if your friend also verifies the MD5 sums after downloading.
Once you have the deb
files, you can install them with dpkg -i *.deb
and should be good to go.
That being said, as @fkraiem pointed out in a comment,
using the deb
instead of the ISO has some drawbacks:
In the case of TeXLive, I think using the official installer is always better than using .debs (indeed, it's what I use myself), mostly because it allows finer management of CTAN packages and better community support (if you ask a question, e.g., on Tex.SE, it will be assumed that you used the official installer, so the solution might not work if you used the .debs)
edited Dec 16 '17 at 7:04
answered Dec 16 '17 at 6:21
janos
3,7361445
3,7361445
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
".deb
s are better than ISO" is just your opinion.
– fkraiem
Dec 16 '17 at 6:38
Also, as I have said in comments to the question, installingtexlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.
– fkraiem
Dec 16 '17 at 6:45
@fkraiem I don't really think thatdeb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I thinkdeb
is generally better, don't you think?
– janos
Dec 16 '17 at 6:46
|
show 4 more comments
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
".deb
s are better than ISO" is just your opinion.
– fkraiem
Dec 16 '17 at 6:38
Also, as I have said in comments to the question, installingtexlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.
– fkraiem
Dec 16 '17 at 6:45
@fkraiem I don't really think thatdeb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I thinkdeb
is generally better, don't you think?
– janos
Dec 16 '17 at 6:46
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
This does not answer the question asked.
– fkraiem
Dec 16 '17 at 6:26
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
@fkraiem it does not answer the question as it is asked, it aims to answer the actual need of the user. The main goal of the user is installing texlive offline. The user thinks an ISO is the way to go, but there's a better way. This should answer the need.
– janos
Dec 16 '17 at 6:32
"
.deb
s are better than ISO" is just your opinion.– fkraiem
Dec 16 '17 at 6:38
"
.deb
s are better than ISO" is just your opinion.– fkraiem
Dec 16 '17 at 6:38
Also, as I have said in comments to the question, installing
texlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.– fkraiem
Dec 16 '17 at 6:45
Also, as I have said in comments to the question, installing
texlive
is a waste of bandwidth and disk space, since the vast majority of the CTAN packages it pulls up will never be used.– fkraiem
Dec 16 '17 at 6:45
@fkraiem I don't really think that
deb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I think deb
is generally better, don't you think?– janos
Dec 16 '17 at 6:46
@fkraiem I don't really think that
deb
is better than an ISO in general. It depends on the use case. For the average Ubuntu user, I think deb
is generally better, don't you think?– janos
Dec 16 '17 at 6:46
|
show 4 more comments
It turns out, the file was not properly transferred.
The hash of the file on my friend's computer (who originally downloaded it) has the correct hash.
However, the hash of the file on the transfer medium (and the file on my computer) have the same incorrect hash.
add a comment |
It turns out, the file was not properly transferred.
The hash of the file on my friend's computer (who originally downloaded it) has the correct hash.
However, the hash of the file on the transfer medium (and the file on my computer) have the same incorrect hash.
add a comment |
It turns out, the file was not properly transferred.
The hash of the file on my friend's computer (who originally downloaded it) has the correct hash.
However, the hash of the file on the transfer medium (and the file on my computer) have the same incorrect hash.
It turns out, the file was not properly transferred.
The hash of the file on my friend's computer (who originally downloaded it) has the correct hash.
However, the hash of the file on the transfer medium (and the file on my computer) have the same incorrect hash.
answered Dec 17 '17 at 4:53
tfstwbbnb
307
307
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f986646%2finstalling-texlive-from-iso%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Why don't you want to use
sudo apt-get install texlive
? If you want to install offline, you could useapt download texlive
on another PC (with matching Ubuntu version), copy thedeb
files and install them withdpkg -i
. Would that answer your question?– janos
Dec 15 '17 at 20:20
@janos it would take too long on my internet to download using
sudo apt-get install texlive
. I have a friend who downloadedtexlive2017-20170524.iso
for me (tex.stackexchange.com/a/370354/150700 contains instructions on how to install, but it does not work for me)– tfstwbbnb
Dec 16 '17 at 3:48
I do not have this issue on my 17.10 system (with the ISO mounted with
sudo mount -o loop image.iso /mountpoint
).– fkraiem
Dec 16 '17 at 4:13
I'm on 16.04 LTS and also tried
sudo mount -o loop texlive2017-20170524.iso /mountpoint
to no avail (same error message). I have also verified the hash of the ISO file is the same as the one provided– tfstwbbnb
Dec 16 '17 at 4:14
@fkraiem I'm not sure, but would this be more appropriate if this question is migrated to tex.stackexchange.com?
– tfstwbbnb
Dec 16 '17 at 4:16