fix directly extracted app in home
>dpkg -I wps-office_11.1.0.11704.XA_amd64.deb
new Debian package, version 2.0.
size 319435710 bytes: control archive=13573 bytes.
1064 bytes, 25 lines control
325 bytes, 11 lines copyright
42449 bytes, 1014 lines * postinst #!/bin/bash
2108 bytes, 89 lines * postrm #!/bin/bash
3469 bytes, 117 lines * preinst #!/bin/bash
25012 bytes, 576 lines * prerm #!/bin/bash
Package: wps-office
Priority: optional
Section: editors
Name: wps-office
Relocations: /opt/kingsoft
Installed-Size: 1632280
Maintainer: WPS Office Community Team <[email protected]>
Architecture: amd64
Multi-Arch: foreign
Version: 11.1.0.11704.XA
Replaces: kingsoft-office
Recommends: ttf-mscorefonts-installer
Homepage: http://wps-community.org
Depends: libc6 (>= 2.15) | libc6.1, libstdc++6 (>= 4.6), libfreetype6 (>= 2.4),
libcups2, libglib2.0-0, libglu1-mesa,
libsm6, libxrender1, libfontconfig1,
libxext6, libxcb1, libbz2-1.0
Description: WPS Office, is an office productivity suite.
WPS Office including Writer, Presentation
and Spreadsheets, is a powerful office suite, which is able to process
word file, produce wonderful slides, and analyze data as well. It is
deeply compatible with all of the latest Microsoft Office file formats.
It can easily open and read the documents created with Microsoft Office.
This is the Linux version, and it's now a TESTING package.
Welcome to our website: http://wps-community.org
name@host:~/Downloads$ dpkg -I wps-office_11.1.0.11719.XA_amd64.deb
new Debian package, version 2.0.
size 319340366 bytes: control archive=13602 bytes.
1064 bytes, 25 lines control
325 bytes, 11 lines copyright
42449 bytes, 1014 lines * postinst #!/bin/bash
2108 bytes, 89 lines * postrm #!/bin/bash
3469 bytes, 117 lines * preinst #!/bin/bash
25012 bytes, 576 lines * prerm #!/bin/bash
Package: wps-office
Priority: optional
Section: editors
Name: wps-office
Relocations: /opt/kingsoft
Installed-Size: 1630584
Maintainer: WPS Office Community Team <[email protected]>
Architecture: amd64
Multi-Arch: foreign
Version: 11.1.0.11719.XA
Replaces: kingsoft-office
Recommends: ttf-mscorefonts-installer
Homepage: http://wps-community.org
Depends: libc6 (>= 2.15) | libc6.1, libstdc++6 (>= 4.6), libfreetype6 (>= 2.4),
libcups2, libglib2.0-0, libglu1-mesa,
libsm6, libxrender1, libfontconfig1,
libxext6, libxcb1, libbz2-1.0
Description: WPS Office, is an office productivity suite.
WPS Office including Writer, Presentation
and Spreadsheets, is a powerful office suite, which is able to process
word file, produce wonderful slides, and analyze data as well. It is
deeply compatible with all of the latest Microsoft Office file formats.
It can easily open and read the documents created with Microsoft Office.
This is the Linux version, and it's now a TESTING package.
Welcome to our website: http://wps-community.org
extract app
dpkg -x wps-office_11.1.0.11704.XA_amd64.deb wps
dependencies
sudo apt install libxslt1.1
sudo apt install libqt5gui5
install to home dir
mv wps/opt/kingsoft ~/opt/
cp wps/usr/bin/* ~/.bin/
edit wps wpp et wpspdf
gInstallPath=/home/kai/opt/kingsoft/wps-office
mv wps/usr/share/applications ~
/.local/share/applications
ls
~
/.local/share/applications
wps-office-et.desktop wps-office-prometheus.desktop wps-office-wps.desktop
wps-office-pdf.desktop wps-office-wpp.desktop
remove absolute path to just binary name
copy icons
cp -r
wps/usr/share/icons
~
/.local/share/icons/
dlopen libwpsmain.so failed , error:libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libicuuc.so.72) fix
ls ~/opt/kingsoft/wps-office/office6/dead/
libstdc++.so.6 libstdc++.so.6.0.28
cd ~/opt/kingsoft/wps-office/office6/
mkdir dead
mv
libstdc++.so.6 libstdc++.so.6.0.28 dead/
for wps pdf fix
test ./opt/kingsoft/wps-office/office6/wpspdf
says missing
libtiff.so.5
cd /usr/lib/x86_64-linux-gnu/
sudo ln -s libtiff.so.6 libtiff.so.5
Comments
Post a Comment