AllToMP3 / alltomp3-app

Download and Convert YouTube, SoundCloud & Spotify in MP3 with full tags (title, artist, genre, cover, lyrics 🔥)
https://alltomp3.org
GNU Affero General Public License v3.0
1.31k stars 134 forks source link

Installing on elementary OS 5.0 doesnt work #84

Open NaitChris opened 5 years ago

NaitChris commented 5 years ago

Your installation Howto on the AllToMp3 Homepage doesn´t work.

~$ sudo pip install pathlib
sudo: pip: Befehl nicht gefunden
$ curl -s https://packagecloud.io/install/repositories/AllToMP3/alltomp3/script.deb.sh | sudo bash
Detected operating system as elementary/juno.
Checking for curl...
Detected curl...
Checking for gpg...
Detected gpg...
Running apt-get update... done.
Installing apt-transport-https... done.
Installing /etc/apt/sources.list.d/AllToMP3_alltomp3.list...curl: (22) The requested URL returned error: 404 Not Found

Unable to download repo config from: https://packagecloud.io/install/repositories/AllToMP3/alltomp3/config_file.list?os=elementary&dist=juno&source=script

This usually happens if your operating system is not supported by 
packagecloud.io, or this script's OS detection failed.

You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website: https://packagecloud.io/docs#os_distro_version

For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh

If you are running a supported OS, please email support@packagecloud.io and report th
```is.
$ sudo apt-get install alltomp3
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket alltomp3 kann nicht gefunden werden.
tiago4171 commented 5 years ago

First of all sorry for my english, i'm not a native. Let's go by parts.

~$ sudo pip install pathlib sudo: pip: Befehl nicht gefunden

To use "pip" command you need to install pip respectively. As you are on Elementary OS, type: ~$ sudo apt install python3-pip With that, you should have the pip command working.

$ sudo apt-get install alltomp3 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig E: Paket alltomp3 kann nicht gefunden werden.

This error is because the installation script use part of the output of "cat /etc/os-release" to grab the system you're using. So how Elementary OS changed that file, despite being based on Ubuntu, it gives an error. To fix that you have 2 options: 1 - Change /etc/apt/sources.list.d/AllToMP3_alltomp3.list and remove "juno" words and substituting for "bionic". I can explain better this option, but I need the output of: "cat /etc/apt/sources.list.d/AllToMP3_alltomp3.list"

or

2 - Delete the /etc/apt/sources.list.d/AllToMP3_alltomp3.list and running the script again with additional options.

First delete /etc/apt/sources.list.d/AllToMP3_alltomp3.list by typing: $ sudo rm /etc/apt/sources.list.d/AllToMP3_alltomp3.list After re-execute the scrit by typing this:

$ curl -s https://packagecloud.io/install/repositories/AllToMP3/alltomp3/script.deb.sh
 $ sudo su
 # os=ubuntu dist=bionic ./script.deb.sh
 # rm script.deb.sh

By following the option 1 or 2, now you can install the AllToMP3.

 $ sudo apt update
 $ sudo apt install alltomp3

That's is how I used to do when I was using Ubuntu and his derivatives

SephReed commented 2 years ago

I'm unable to get this working:

https://github.com/AllToMP3/alltomp3/issues/11