installing Trisquel without Internet connection
- Login o registrati per inviare commenti
Hello,
I would like to use a laptop without connecting it to the internet.
I can do that in downloading an iso and install it through an usb stick.
But that is only the main system.
What can I do if I want to install additional software, if I don´t want to connect my laptop to the internet?
25 years ago you had to buy a bunch of CDs and install from them.
But how does it work nowadays?
What are the possibilities?
Is there a way to do that at all?
Or is the only chance to install as many packages as I want through connecting to the internet and after that never connect to the internet again?
I wouldn´t like that, because then my laptop and my data is collected somewhere.
thanks
Gottfried
You can download the full repository of trisquel and have a personal server to download it, but if you want connect to the trisquel repo, and download/install software you must be connected to Internet.
Hello
thanks for so many answers.
Where can I find the full repository in order to download all at once?
I would like to check how many Gigabytes it has to download all at once.
This would be probably the most simple solution because I am not so advanced.
To download it from an other laptop, save it on a usb-stick and copy to the other laptop, save it there, install from the repo I had saved. And that after having installed Trisquel there.
I would also have to wait for Trisquel 12.
thanks for your help
Gottfried
I would like to check how many Gigabytes it has to download all at once.
See https://trisquel.info/en/wiki/mirroring-trisquel, it says about 2 TB, but I guess this includes arm64 and ppcle, so if you restrict to amd64, maybe the number is somewhere between 2 and 3 times less (not sure).
If this is too much and if you are ok to fetch packages via an online computer and then copy them via a USB stick, you could try the method with synaptic. Because it is a GUI aimed at making things easy for users who don't want to learn about too many details, it may also make that reasonably easy.
I would also have to wait for Trisquel 12.
Many people have been using Trisquel 12 for a few months (including me) installed from the beta isos without any unsolved issue now. My guess is that the main thing that is missing to declare Trisquel 12 released is the upgrade script from Trisquel 11.
I remember trying to do this some time ago, and I remember running into problems, but I think maybe it was because I was trying to use an offline computer running Debian while my online computer was running Trisquel.
In theory, it seems like it shouldn't be too difficult if you use apt-offline, but apt-offline doesn't come installed by default in Trisquel, so you'll have to install it manually first.
You can use `apt download apt-offline` to get a deb file for your version of Trisquel, but that deb file won't include the dependencies, and it couldn't know which ones aren't already installed on your offline computer. With `apt show apt-offline`, you can see "Depends: python3:any, apt, less, python3-magic", and I think all but python3-magic are included by default in Trisquel.
You can repeat this process to find more packages you need. I think python3-magic and libmagic1 might be the rest that you need, but I'm not sure. You may need dependencies of those also.
One you have all the deb files, you can use `sudo apt install ./libmagic1_1%3a5.41-3ubuntu0.1_amd64.deb` and similar commands to install everything. You will have to install the lowest-level dependencies first. If you get an error that requires a dependency you do not have as a deb file, you will have to go back to the online machine to download it.
Another way to get all the dependencies would be to install apt-offline on a newly set up Trisquel installation and see which additional packages get installed. On my installation, which is not a new installation, this was "debian-archive-keyring python3-debianbts python3-magic python3-pycurl python3-pysimplesoap".
Once apt-offline is installed, installing packages more packages should be a bit easier. See this StackExchange post for an example: https://askubuntu.com/a/869828
Here are the commands used in that example:
sudo apt-offline set vim-offline.sig --install-packages vim
apt-offline get vim-offline.sig --bundle vim-install.zip
sudo apt-offline install vim-install.zip
The first of those commands is run on the offline machine, to generate the information about what dependencies are needed to install the package, then the second command is used on the online machine in combination with the generated sig file to download a bundle of the requested package and the dependencies missing from the offline machine. Finally, the zip file is used on the offline machine to install those packages.
`man apt-offline` also has more examples. Towards the bottom of the man page is a sequence for upgrading all packages.
All this assumes you are able to use a different Trisquel computer that is connected to the internet. Using an offline Trisquel computer with an online device on a different operating system seems a bit more difficult, but maybe there's a tool I don't know about.
If you want to use libre software with GUI, you can download the .AppImage from the upstream website.
For example: LibreOffice, GIMP, Inkscape, Scribus, Krita, Kdenlive, OpenShot, Friction, Blender, FreeCAD, LibreCAD and so many free softwares are available to download and run directly.
You can put all the .AppImage in your flash drive and run from there.
>"Or is the only chance to install as many packages as I want through connecting to the internet and after that never connect to the internet again?"
>"I wouldn´t like that, because then my laptop and my data is collected somewhere."
If you don't want to have your system identified [at all] by any other server online, then setting up the Tor network for your initial post-ISO software installations would seem like a good way to proceed. Much easier than downloading and setting up your own copy of the repo.
But then again, I would personally assume that worrying about connecting to a Trisquel repository would be unnecessary. It's not like the Trisquel devs are going to do anything with any info about your system, other than serve you more packages on request. They aren't selling the data to Google or to government spies, unlike a lot of other online providers.