1

I read the answers to similar questions but it did not help me. My computer runs on Xubuntu, a derivative of Ubuntu. I am trying to install a package from this website : https://github.com/Zettelkasten-Team/Zettelkasten/releases/ I downloaded the source code (tar.gz) and extracted the archive to a folder, but I have no idea what to do next to install the programm that I am looking to use, or even where it is located inside the folder. I know how to handle basic commands on a terminal but I am lost when no detailed instructions are given.

New contributor
Sylvain Moraillon is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
8
  • Did you install the Java Development Kit (JDK) and Maven, as it says here? Then just issue the command given: mvn clean package.
    – Jos
    2 days ago
  • 1
    it is easier to download the jar package itself and start it with java -jar /path/to/Zettelkasten-versionsnr.jar
    – nobody
    2 days ago
  • 1
    this is github.com/Zettelkasten-Team/Zettelkasten/releases/download/… jar file for Zettelkasten.
    – nobody
    2 days ago
  • I get the following message when running this command : "Error: Unable to access jarfile /path/to/Zettelkasten-versionsnr.jar" I guess this has to do with this "path/to" that I don't understand... I simply put the jar file on my desktop and went into the desktop with the terminal, I thought it would be sufficient... 2 days ago
  • Are you saying that you don't know the path to your desktop (/home/$YOUR_USERNAME/Desktop/$FILENAME.jar)? Or the shortcut to your home directory (~/Desktop/$FILENAME.jar)?
    – user535733
    2 days ago
8

You cannot know how to install a .tar.gz package. A .tar.gz package is a compressed archive file, i.e., several files stored in a single .tar file, and compressed so they take less disk space.

To install software that is delivered in a .tar.gz package, you depend on the instructions provided by the software developper, in as far as the contents of the .tar.gz package does not give a clue. The contents could be a binarary file you can run directly, it could contain an installation script that installs binary files, or it could be source code that you need to compile and install yourself.

Take a look at the contents. Authors quite commonly provide instructions in a file called READMEor something else. If you need help installing one particular package, you may open a specific question for that package on this site. What I did here, is answering to the question that you currently asked.

In case of the application you link to, information on how to build the source code actually does not appear to be included in the archive. Some very sparse installation instructions are provided on the project's github page.

You may have better luck not compiling the application yourself, but instead selecting to download the .jar file, which should run on any supported java environment on Windows, Mac and Linux alike. I, for one, could fire up the interface with the command java -jar Zettelkasten-3.3.0.jar after downloading the .jar file on Ubuntu 21.04.

3
  • Thanks for your answer. I did hesitate whether to put "file" or package in my title, which I will edit. And yes I had a look at the README in the archive, but as you noted nothing here of help... 2 days ago
  • Just go for the .jar download and run it as I indicated: I tested this myself. If the answer helped you, then consider "accepting" it, i.e., click the checkmark that appears to the left of the answer. This also helps future users find useful answers.
    – vanadium
    2 days ago
  • After several stupid mistakes I was able to open the programm. I get this warning on the terminal though : "WARNING: Could not open file! Filepath is null!", not sure what it means. Anyway, thanks a lot. 2 days ago

Your Answer

Sylvain Moraillon is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.