웨일은 데비안 패키지로만 배포된다. 따라서 레드햇에 깔기 위해선 alien프로그램을 이용해 rpm패키지로 바꿔주어야 한다.
아래부터는 스크랩이다.
original post: https://forum.whale.naver.com/topic/31742/
------------------------------------------------------
Whale fails to provide any RPM packages. Very unfortunate. The latest .deb can be converted to RPM using alien but there are some issues. Here's how to solve those. I recommend listening to Rockit Girl Little Cat while you execute these commands but that is not required.
1) Extract the RPM and create a .spec file with alien.
alien -r -g naver-whale-stable_amd64.deb
2) Remove system folders that should not be in the .spec but are for some odd reason from the RPM .spec file
grep -v -e '%dir "/"' \
-e '%dir "/opt/"' \
-e '%dir "/usr/"' \
-e '%dir "/usr/bin/"' \
-e '%dir "/usr/share/"' \
-e '%dir "/etc/"' \
-e '"/etc/cron.daily/naver-whale"' \
-e '%dir "/usr/share/appdata/"' \
-e '%dir "/usr/share/applications/"' \
-e '%dir "/usr/share/doc/"' \
-e '%dir "/usr/share/man/"' \
-e '%dir "/usr/share/man/man1/"' \
-e '%dir "/usr/share/gnome-control-center/"' \
naver-whale-stable-2.8.105.22/naver-whale-stable-2.8.105.22-2.spec > /tmp/spec.tmp
mv /tmp/spec.tmp naver-whale-stable-2.8.105.22/naver-whale-stable-2.8.105.22-2.spec
This command must be adjusted if it's used for future versions. You could also manually edit the spec file.
3) Make the libnelo2-multi.so library executable. RPM will claim it is required and missing if it's not marked as a executable, thus preventing the RPM from being installed.
chmod a+x naver-whale-stable-2.8.105.22/opt/naver/whale/libnelo2-multi.so
Now a RPM file can be built.
cd naver-whale-stable-2.8.105.22
rpmbuild --buildroot=${PWD} -bb --target x86_64 'naver-whale-stable-2.8.105.22-2.spec'
cd ..
The new RPM can now be installed:
sudo dnf -y install naver-whale-stable-2.8.105.22-2.x86_64.rpm
And that's it, now you get to have WHALE browser on Fedora/CentOS/RHEL.
Very unfortunate that NAVER does not provide any RPM themselves. It wouldn't be that hard for them to convert he .deb and provide that themselves. See my NAVER whale review in english for more tips.
'컴퓨터' 카테고리의 다른 글
[Linux] GTK4 테마 바꾸기 (0) | 2022.12.24 |
---|---|
[Linux] [스크랩] Possible autostart paths 정리 (0) | 2022.08.13 |
[Linux] 페도라 데스크톱 환경 변경하기 (0) | 2022.06.10 |
[Linux] unzip *.zip시 caution: filename does not match 해결법 (0) | 2022.04.24 |
[Linux] Wayland에서 input method 설정하기 (0) | 2022.04.18 |