2019년 11월 21일 목요일

MX Linux(Debian 계열)에서 Spotify로 음악 듣기

Listening to Music with Spotify in MX Linux 

(if you're traveling a spotify-unsupported country)

우리나라에서는 아직(?) Spotify가 서비스 되지 않고 막혀 있기 때문에, Spotify가 사용자의 컴퓨터가 한국에 있다는 걸 알지 못하도록 VPN을 사용해야 한다.
또한 검색결과 최근(2019년 11월) 리눅스에서 가장 핫한 VPN은 Windscribe라고 한다.

Windscribe에 가입하여 아이디와 비번을 받는다. 이메일 인증을 완료해야 월 10GB가 무료다. 이메일 인증을 안 하면 월 2GB.
(링크: https://kor.windscribe.com/)

VPN을 사용하기 위한 패키지를 설치한다.
(참조링크: https://kor.windscribe.com/guides/manual_ubuntu)

sudo apt-get install network-manager-vpnc 
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome 
sudo /etc/init.d/networking restart 

이제 Windscribe VPN 클라이언트를 설치한다.(참조링크: https://kor.windscribe.com/guides/linux)

sudo apt-get install dirmngr apt-transport-https
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key FDC247B7

sudo sh -c "echo 'deb https://repo.windscribe.com/debian buster main' > /etc/apt/sources.list.d/windscribe-repo.list"
sudo apt-get update
sudo apt-get install windscribe-cli
windscribe login
windscribe connect


그럼 VPN 연결은 홍콩에 있는 서버로 연결이 된다.

그리고 Spotify를 설치할 차례,
(참조링크: https://www.spotify.com/int/download/linux/)

curl -sS https://download.spotify.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-get update && sudo apt-get install spotify-client

GUI에서 Spotify를 실행하고, 계정을 만든다.

VPN을 통한 스트리밍 속도가 느려서 그런지 음악 재생이 잘 안 되기 때문에, 이후 Spotify에 로그인 할 때만 VPN에 연결하고

sudo windscribe disconnect

연결을 종료한 후에 재생을 하면 끊김없이 들을 수 있다.


댓글 없음:

댓글 쓰기

Xubuntu: Installing a Printer (Canon G3060 PIXMA)

$ sudo apt install system-config-printer Download the proper driver for linux from Canon website. Turn on the printer and set up its WiFi. C...