GPTSync - Ubuntu Install

Just wondering how to install gpt sync for Ubuntu

it’s for a PC that doesn’t have capable internet connection, so I need to transfer it to the PC by means of USB

Any ideas?

yeah, get the *.deb file and install it with this command.

sudo dpkg -i file.deb

I’m very new to Linux, the “*.deb” file?

When I run that command, does the file need to be anywhere specific?

You need to download the source file, and then manually install the deb file.

All a package manager does is get the deb files from a repository and install them.

If a machine is not connected to the internet, but you can manually transfer the deb file to the machine, then you can install the package with the aforementioned method.

How/where do I get the source file?

Installing the deb file would just be like a basic “run” of a program then or?

from the developers?

Do a google search for your stuff.

No.

deb files are precompiled source code containers in a specific format.

Once you install it, then the program is on the system and you would use it like any other. You would not go to the deb file again.

Dont forget to get any missing dependencies for the package.

1 Like

For Ubuntu you’ll want to go to packages.ubuntu.com

2 Likes

I would just search for gptsync then on that page?

what is that/what are those?

god linux is so fucking weird

Looks like this page then? https://packages.ubuntu.com/trusty/amd64/gptsync/download

I downloaded the .deb file

In what way?

Does the deb file need to be anywhere specific though on Ubuntu? Or can it just be placed like on the desktop and then just run the terminal command to install?

Just download and run the command suggested. It will install it where it needs to go and the .deb can be deleted

I’m just so new to it and I don’t use it very often. What I’m used to is the standard “normie” stuff like Mac OS and Windows

I’ve never had to go searching like this for strange file like this before. It feels really weird.

On windows installers are .msi or .exe files. On Ubuntu they are .deb files. That’s all there is to it.

Oh they theoretically function the same way? You just double click the .deb file and it runs/installs?

On windows the installer is an executable file which installs itself. Linux distributions instead pack all the data required for installation into packages (.deb on Ubuntu, .rpm on Fedora, …) but then use an external program to perform the installation. On Ubuntu said program is dpkg. That’s why you were told to download the .deb file and then run dpkg.

I think you are going into the whole thing with the wrong mindset though. On linux you don’t have to download a program and then install it. Instead there’s package managers - programs which can find applications, download them (and all dependencies!) and then install them for you. You can think of this very much like an app store: Search for the program you want, then have the store install it for you.

You can access this “store” either from the command line using the “apt” command or graphically. I’m not familiar with the recent ubuntu versions, but the old ones shipped with something called “Ubuntu Software Center”.

normally you wouldn’t as you’d install via an internet connection or cd/usb with the repos (Debian provides offline CDs you can point to). You’d almost never download a .deb and install it you’d use the command line package manager or GUI package manager. But like I said, usually requires an internet connection unless you set up an offline repo.

Windows is actually going this way as well with their windows store offering. Apple already does it with there itunes store.