How can I install and resolve the dependencies for the WPS Office 2016 release?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
OS: Ubuntu 17.10
In a nut shell, WPS Office released a new Linux update Aplha21. I have installed it and tried to get it working by downloading the package from the site and running: sudo dpkg --install <package>
. However, the package fails to install from a lacking dependency; "libpng12-0". How best to install this package is the greatest concern.
ubuntu dpkg dependencies wps-office
add a comment |Â
up vote
0
down vote
favorite
OS: Ubuntu 17.10
In a nut shell, WPS Office released a new Linux update Aplha21. I have installed it and tried to get it working by downloading the package from the site and running: sudo dpkg --install <package>
. However, the package fails to install from a lacking dependency; "libpng12-0". How best to install this package is the greatest concern.
ubuntu dpkg dependencies wps-office
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
OS: Ubuntu 17.10
In a nut shell, WPS Office released a new Linux update Aplha21. I have installed it and tried to get it working by downloading the package from the site and running: sudo dpkg --install <package>
. However, the package fails to install from a lacking dependency; "libpng12-0". How best to install this package is the greatest concern.
ubuntu dpkg dependencies wps-office
OS: Ubuntu 17.10
In a nut shell, WPS Office released a new Linux update Aplha21. I have installed it and tried to get it working by downloading the package from the site and running: sudo dpkg --install <package>
. However, the package fails to install from a lacking dependency; "libpng12-0". How best to install this package is the greatest concern.
ubuntu dpkg dependencies wps-office
ubuntu dpkg dependencies wps-office
edited Oct 22 '17 at 7:58
Léo Léopold Hertz ì¤ÂìÂÂ
9131041102
9131041102
asked Jun 20 '17 at 17:34
r00t hkr
4117
4117
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
OS: Ubuntu 17.10
The solution I came up with was to install the missing package "libpng12-0" for Ubuntu and then attempt to re-install the WPS Office 2016 (release: Aplha21) package. This does work. That is all you have to do. However, for those of you out there that was a "copy & paste" solution to this, here is a script that I created to do this for you. It is quick and easy to run. The script will get the dependency for you, install it and you are done. If the link does not work or the package changes all you have to do is update the script to suit your needs.
Step 1: Copy the scripted text.
SCRIPT:
#!/bin/bash
# The dependency should correspond with the package name.
dependencies=(
"http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb"
)
package_name=(
"libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"wps-office_10.1.0.5707~a21_amd64.deb"
)
for (( x=0; x<$#dependencies[@]; x++ )); do
wget $dependencies[$x]
done
for (( x=0; x<$#package_name[@]; x++ )); do
sudo dpkg --install $package_name[$x]
done
sudo apt update -y
sudo apt upgrade -y
Step 2: Paste it into a file and save it. Call the file whatever you want.
Step 3: Add execution permissions to the file.
sudo chmod a+x <file>
Step 4: Run the file.
./<file>
That should work.
Best regards,
- r00thkr
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
OS: Ubuntu 17.10
The solution I came up with was to install the missing package "libpng12-0" for Ubuntu and then attempt to re-install the WPS Office 2016 (release: Aplha21) package. This does work. That is all you have to do. However, for those of you out there that was a "copy & paste" solution to this, here is a script that I created to do this for you. It is quick and easy to run. The script will get the dependency for you, install it and you are done. If the link does not work or the package changes all you have to do is update the script to suit your needs.
Step 1: Copy the scripted text.
SCRIPT:
#!/bin/bash
# The dependency should correspond with the package name.
dependencies=(
"http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb"
)
package_name=(
"libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"wps-office_10.1.0.5707~a21_amd64.deb"
)
for (( x=0; x<$#dependencies[@]; x++ )); do
wget $dependencies[$x]
done
for (( x=0; x<$#package_name[@]; x++ )); do
sudo dpkg --install $package_name[$x]
done
sudo apt update -y
sudo apt upgrade -y
Step 2: Paste it into a file and save it. Call the file whatever you want.
Step 3: Add execution permissions to the file.
sudo chmod a+x <file>
Step 4: Run the file.
./<file>
That should work.
Best regards,
- r00thkr
add a comment |Â
up vote
0
down vote
OS: Ubuntu 17.10
The solution I came up with was to install the missing package "libpng12-0" for Ubuntu and then attempt to re-install the WPS Office 2016 (release: Aplha21) package. This does work. That is all you have to do. However, for those of you out there that was a "copy & paste" solution to this, here is a script that I created to do this for you. It is quick and easy to run. The script will get the dependency for you, install it and you are done. If the link does not work or the package changes all you have to do is update the script to suit your needs.
Step 1: Copy the scripted text.
SCRIPT:
#!/bin/bash
# The dependency should correspond with the package name.
dependencies=(
"http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb"
)
package_name=(
"libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"wps-office_10.1.0.5707~a21_amd64.deb"
)
for (( x=0; x<$#dependencies[@]; x++ )); do
wget $dependencies[$x]
done
for (( x=0; x<$#package_name[@]; x++ )); do
sudo dpkg --install $package_name[$x]
done
sudo apt update -y
sudo apt upgrade -y
Step 2: Paste it into a file and save it. Call the file whatever you want.
Step 3: Add execution permissions to the file.
sudo chmod a+x <file>
Step 4: Run the file.
./<file>
That should work.
Best regards,
- r00thkr
add a comment |Â
up vote
0
down vote
up vote
0
down vote
OS: Ubuntu 17.10
The solution I came up with was to install the missing package "libpng12-0" for Ubuntu and then attempt to re-install the WPS Office 2016 (release: Aplha21) package. This does work. That is all you have to do. However, for those of you out there that was a "copy & paste" solution to this, here is a script that I created to do this for you. It is quick and easy to run. The script will get the dependency for you, install it and you are done. If the link does not work or the package changes all you have to do is update the script to suit your needs.
Step 1: Copy the scripted text.
SCRIPT:
#!/bin/bash
# The dependency should correspond with the package name.
dependencies=(
"http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb"
)
package_name=(
"libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"wps-office_10.1.0.5707~a21_amd64.deb"
)
for (( x=0; x<$#dependencies[@]; x++ )); do
wget $dependencies[$x]
done
for (( x=0; x<$#package_name[@]; x++ )); do
sudo dpkg --install $package_name[$x]
done
sudo apt update -y
sudo apt upgrade -y
Step 2: Paste it into a file and save it. Call the file whatever you want.
Step 3: Add execution permissions to the file.
sudo chmod a+x <file>
Step 4: Run the file.
./<file>
That should work.
Best regards,
- r00thkr
OS: Ubuntu 17.10
The solution I came up with was to install the missing package "libpng12-0" for Ubuntu and then attempt to re-install the WPS Office 2016 (release: Aplha21) package. This does work. That is all you have to do. However, for those of you out there that was a "copy & paste" solution to this, here is a script that I created to do this for you. It is quick and easy to run. The script will get the dependency for you, install it and you are done. If the link does not work or the package changes all you have to do is update the script to suit your needs.
Step 1: Copy the scripted text.
SCRIPT:
#!/bin/bash
# The dependency should correspond with the package name.
dependencies=(
"http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb"
)
package_name=(
"libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"wps-office_10.1.0.5707~a21_amd64.deb"
)
for (( x=0; x<$#dependencies[@]; x++ )); do
wget $dependencies[$x]
done
for (( x=0; x<$#package_name[@]; x++ )); do
sudo dpkg --install $package_name[$x]
done
sudo apt update -y
sudo apt upgrade -y
Step 2: Paste it into a file and save it. Call the file whatever you want.
Step 3: Add execution permissions to the file.
sudo chmod a+x <file>
Step 4: Run the file.
./<file>
That should work.
Best regards,
- r00thkr
answered Jun 20 '17 at 17:34
r00t hkr
4117
4117
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f372290%2fhow-can-i-install-and-resolve-the-dependencies-for-the-wps-office-2016-release%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password